import request from '../utils/request'

const area = '/AppAPI_Main'
/**
 * 
 * @param {object} params 
 * latitude
 * longitude
 */
export const get = (params) => {
  return request({
    url: `${area}/Home`,
    method: 'get',
    params
  })
}
/**
 * 领取每日红包
 */
export const getCoupon = () => {
  return request({
    url: `${area}/CouponRequest`,
    method: 'get',
  })
}

